[#include "/WEB-INF/pages/common/taglibs.ftl"]
<div class="jqxWidget">
	<div class="jqxExpander" style="height:442px;">
		<div>文章  <a href="[@c.url value='/manage/Article_create.action?channelId=${channelId}&categoryId=${categoryId}'/]" >新建文章</a></div>	
		<div>
			"/manage/Article_list.action?channelId=${channelId}&categoryId=${categoryId}[#if article?? && article.isComment()??]&article.comment=${article.isComment()}[/#if][#if article?? && article.isDraft()??]&article.draft=${article.isDraft()}[/#if][#if article?? && article.isCheck()??]&article.check=${article.isCheck()}[/#if]"
			
		    [@demo.tableDisplayer id="id" ajaxPage="true" renderTo="${renderTo}" property="articleList" pagesize=4 page="/manage/Article_list.action?channelId=${channelId}&categoryId=${categoryId}" name="FreemarkerTable" config="/WEB-INF/component/table/simple.ftl" bundle="messageSource"]
		    	[@demo.column name="batch" title="批量" innerHtml="\linput type='checkbox' /\g" headerClass="batch" columnClass="span1"/]
		    	[@demo.column name="id" property="id" title="ID" headerClass="span1" columnClass="span1"/]
		    	[@demo.column name="name" property="title" title="标题" columnClass="span3"/]
		    	[@demo.column name="categoryId" property="categoryId" title="栏目" columnClass="span2"/]
		    	[@demo.column name="checkLevel" property="checkLevel" title="审核级别" columnClass="span2"/]
		    	[@demo.column name="publishDate" property="publishDate" format="yyyy年MM月dd日" title="发布时间" columnClass="span2"/]
		    	[@demo.column name="pageCount" property="pageCount" format="#" title="页数" columnClass="span1"/]
		    	[@demo.column name="isComment" property="comment" format="是:否" title="评论" columnClass="span1"/]
		    	[@demo.column name="isRecommend" property="recommend" format="是:否" title="推荐" columnClass="span1"/]
		    	[@demo.column name="isPermission" property="permission" format="开放:授权" title="许可" columnClass="span1"/]
		    	[@demo.column name="type" property="type" title="类型" columnClass="span1"/]
		    	[@demo.column name="operate" property="id" title="操作" columnClass="span2" innerHtml="\la href='javascript:void(0);' act='edit' \g编辑\l/a\g&nbsp;|&nbsp;\la href='javascript:void(0);' act='delete' \g删除\l/a\g" headerClass="batch"/]
		    [/@demo.tableDisplayer]
		</div>
	</div>
</div>
<div id="delete-confirm" style="display:none" title="删除文章">
	<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>文章删除后将无法恢复.<br>您确认删除吗？</p>
</div>
	
